package com.byref.liteflowdemo.cmp.order;

import com.yomahub.liteflow.core.NodeComponent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author BYREF
 */
@Slf4j
@Component("addPoint")
public class AddPointCmp extends NodeComponent {
    @Override
    public void process() throws Exception {
        var priceContext = this.getContextBean(PriceContext.class);
        log.info("开始添加积分[priceContext: {}]", priceContext);
    }
}
